package com.skywolf.chem.match.mapper;

import com.skywolf.chem.manager.entity.ActivitySponsorVo;
import com.skywolf.chem.match.entity.Sponsor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skywolf.chem.match.params.vo.MatchInfoQueryVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 赛事主办方 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-09-24
 */
@Mapper
public interface SponsorMapper extends BaseMapper<Sponsor> {

    List<ActivitySponsorVo> getUserCount(@Param("matchId")long matchId);

    int delSponsorByMatchId(@Param("matchId")long matchId);

}
